package com.care.mall.common.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.care.common.core.annotation.Excel;
import com.care.common.core.web.domain.BaseEntity;

/**
 * 商品规格对象 mall_sku_info
 *
 * @author 李光耀负责
 * @date 2024-03-27
 */
public class MallSkuInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格编号 */
    private Integer skuId;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String skuName;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Integer spuId;

    /** 商品状态 */
    @Excel(name = "商品状态")
    private Integer skuStatus;

    /** 商品原价 */
    @Excel(name = "商品原价")
    private BigDecimal skuOrginPrice;

    /** 优惠价格 */
    @Excel(name = "优惠价格")
    private BigDecimal skuDiscountPrice;

    /** 锁定数量 */
    @Excel(name = "锁定数量")
    private Integer skuLockCount;

    /** 销售数量 */
    @Excel(name = "销售数量")
    private Integer skuSaleCount;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Integer skuRestCount;

    /** 属性编号 */
    @Excel(name = "属性编号")
    private Integer attrId;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String skuDescription;

    /** 规格照片 */
    @Excel(name = "规格照片")
    private Integer imageId;

    public void setSkuId(Integer skuId)
    {
        this.skuId = skuId;
    }

    public Integer getSkuId()
    {
        return skuId;
    }
    public void setSkuName(String skuName)
    {
        this.skuName = skuName;
    }

    public String getSkuName()
    {
        return skuName;
    }
    public void setSpuId(Integer spuId)
    {
        this.spuId = spuId;
    }

    public Integer getSpuId()
    {
        return spuId;
    }
    public void setSkuStatus(Integer skuStatus)
    {
        this.skuStatus = skuStatus;
    }

    public Integer getSkuStatus()
    {
        return skuStatus;
    }
    public void setSkuOrginPrice(BigDecimal skuOrginPrice)
    {
        this.skuOrginPrice = skuOrginPrice;
    }

    public BigDecimal getSkuOrginPrice()
    {
        return skuOrginPrice;
    }
    public void setSkuDiscountPrice(BigDecimal skuDiscountPrice)
    {
        this.skuDiscountPrice = skuDiscountPrice;
    }

    public BigDecimal getSkuDiscountPrice()
    {
        return skuDiscountPrice;
    }
    public void setSkuLockCount(Integer skuLockCount)
    {
        this.skuLockCount = skuLockCount;
    }

    public Integer getSkuLockCount()
    {
        return skuLockCount;
    }
    public void setSkuSaleCount(Integer skuSaleCount)
    {
        this.skuSaleCount = skuSaleCount;
    }

    public Integer getSkuSaleCount()
    {
        return skuSaleCount;
    }
    public void setSkuRestCount(Integer skuRestCount)
    {
        this.skuRestCount = skuRestCount;
    }

    public Integer getSkuRestCount()
    {
        return skuRestCount;
    }
    public void setAttrId(Integer attrId)
    {
        this.attrId = attrId;
    }

    public Integer getAttrId()
    {
        return attrId;
    }
    public void setSkuDescription(String skuDescription)
    {
        this.skuDescription = skuDescription;
    }

    public String getSkuDescription()
    {
        return skuDescription;
    }
    public void setImageId(Integer imageId)
    {
        this.imageId = imageId;
    }

    public Integer getImageId()
    {
        return imageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("skuId", getSkuId())
            .append("skuName", getSkuName())
            .append("spuId", getSpuId())
            .append("skuStatus", getSkuStatus())
            .append("skuOrginPrice", getSkuOrginPrice())
            .append("skuDiscountPrice", getSkuDiscountPrice())
            .append("skuLockCount", getSkuLockCount())
            .append("skuSaleCount", getSkuSaleCount())
            .append("skuRestCount", getSkuRestCount())
            .append("attrId", getAttrId())
            .append("skuDescription", getSkuDescription())
            .append("imageId", getImageId())
            .toString();
    }
}
